Fan2D106FaceAlignmentModel
class Fan2D106FaceAlignmentModel(internalModel: OnnxInferenceModel, modelKindDescription: String?) : FaceAlignmentModelBase<Bitmap> , CameraXCompatibleModel, InferenceModel
Content copied to clipboard
The light-weight API for solving Face Alignment task.
Parameters
internalModel
model used to make predictions
Constructors
Fan2D106FaceAlignmentModel
Link copied to clipboard
fun Fan2D106FaceAlignmentModel(internalModel: OnnxInferenceModel, modelKindDescription: String? = null)
Content copied to clipboard
Functions
detectLandmarks
Link copied to clipboard
initializeWith
Link copied to clipboard
open override fun initializeWith(vararg executionProviders: ExecutionProvider)
Content copied to clipboard
Initialize the model with the specified executions providers.
predictSoftly
Link copied to clipboard
open override fun predictSoftly(inputData: FloatArray, predictionTensorName: String): FloatArray
Content copied to clipboard
summary
Link copied to clipboard
Properties
inputDimensions
Link copied to clipboard
internalModel
Link copied to clipboard
modelKindDescription
Link copied to clipboard
preprocessing
Link copied to clipboard
open override val preprocessing: Operation<Bitmap, Pair<FloatArray, TensorShape>>
Content copied to clipboard
targetRotation
Link copied to clipboard